import request from '../utils/request.js'

export const loginAPI=(params)=>{
  return request({
    url:'/user/login',
    method:'post',
    data:params
  })

}

export const registAPI=(params)=>{
  return request({
    url:'/user/register',
    method:'post',
    data:params
  })
}